findByUsbPid

Helper method to find the DeviceType enum that corresponds to the USB VID and PID of a USB device. If an unknown VID and PID combination is provided, DeviceType.UNKNOWN is returned

Return

DeviceType enum corresponding to the VID and PID

Parameters

device

USB device instance